<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
    <style>
      .container {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 100px;
        height: 300px;
        border: 1px solid red;
        overflow: auto;
      }
      .item {
        width: 80px;
        height: 80px;
        border: 1px solid blue;
        flex: none;
        margin: auto;
      }
    </style>
  </head>
  <body>
    <div class="container">
      <div class="item">1</div>
      <div class="item">1</div>
      <!-- <div class="item">1</div>
    <div class="item">1</div>
    <div class="item">1</div>
    <div class="item">1</div>
    <div class="item">1</div> -->
    </div>
    <img src="./images/1.png" alt="" />
    <script src="./js.js"></script>
  </body>
</html>
